using BackData;
using MediatR;

namespace Team.API.Applocation.Command.Order
{
    /// <summary>
    /// 创建订单命令
    /// </summary>
    public class CreateOrderCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 成品编号
        /// </summary>
        public long Itemcode { get; set; }

        /// <summary>
        /// 购买数量
        /// </summary>
        public int Number { get; set; }

        /// <summary>
        /// 下单时间
        /// </summary>
        public DateTime? Ordertime { get; set; }

        /// <summary>
        /// 订单状态（可选，默认为0-待排程）
        /// </summary>
        public int? Orderstatus { get; set; }
    }
}
